package com.cloudlibrary.service;

import com.cloudlibrary.domain.Book;
import com.cloudlibrary.entity.PageResult;


/**
* @author Guan
* @description 针对表【book】的数据库操作Service
* @createDate 2024-12-19 14:52:23
*/
public interface BookService {
    Book findBooKById(String id);

    Integer borrowBook(Book book);

    PageResult selectNewBooks(Integer pageNum, Integer pageSize);

    PageResult search(Book book, Integer pageNum, Integer pageSize);

    Integer addBook(Book book);
}
